package guowei.guliorder.order.vo;

import guowei.guliorder.order.entity.OrderEntity;
import guowei.guliorder.order.entity.OrderItemEntity;
import lombok.Data;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.List;

/**
 * 构建订单
 */
@Data
@ToString
public class OrderCreateVo {
    private OrderEntity order;
    private List<OrderItemEntity> orderItems;
    private BigDecimal payPrice; //订单计算应付的价格
    private BigDecimal fare; //运费
}
